package cn.iocoder.yudao.module.peizhen.controller.admin.paitent.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户的陪诊病人分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PaitentPageReqVO extends PageParam {

    @Schema(description = "用户id", example = "24511")
    private Integer memberId;

    @Schema(description = "是否满18周岁 1 是 2否")
    private Integer isAdult;

    @Schema(description = "姓名", example = "王五")
    private String name;

    @Schema(description = "性别 0 男 1 女")
    private Integer sex;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "身份证号")
    private String cardNum;

    @Schema(description = "就诊人关系")
    private String relation;

    @Schema(description = "行动是否方便 1 是 2否")
    private Integer isWalk;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}